import request from '../utils/request';

// 1.企业数量统计
export const companyDailyCount = query => {
  return request.post('/zsrencai/api/sys/admin/company-data-census/query/company/daily/count', query)
}

// 2.审核数量
export const companyauthDailyCount = query => {
  return request.post('/zsrencai/api/sys/admin/company-data-census/query/companyauth/daily/count', query)
}



// 冯奔闯接口
// 简历每日操作数据  
export const queryDailyCount = query => {
  return request.get('/zsrencai/api/sys/admin/resume-statistics/query/resume/daily/count', query)
}

// 投递量按天分组 
export const queryCountDeliver = query => {
  return request.get('/zsrencai/api/sys/admin/resume-statistics/count/deliver', query)
}


// 收到面试邀请量统计 按天分组
export const interviewCount = query => {
  return request.get('/zsrencai/api/sys/admin/resume-statistics/interviewCount', query)
}



// 注册量 
export const registrations = query => {
  return request.get('/zsrencai/api/sys/admin/person-user/registrations', query)
}


// 登录量
export const personDailyCount = query => {
  return request.post('/zsrencai/api/sys/admin/person-login-record/query/person/daily/count', query)
}


// 企业数量统计（邀请面试）
export const companyInterviewCount = query => {
  return request.post('/zsrencai/api/sys/admin/resume-statistics/company/interview-count', query)
}

// 招聘统计
export const statisticsGet = query => {
  return request.post('/zsrencai/api/sys/admin/recruit/statistics/get', query)
}

// 求职用户行为量统计（聊天量）
export const chartPerson = query => {
  return request.post('/zsrencai/api/sys/admin/chat/get/chat/count/chart/person', query)
}

// 企业数量统计（发起聊天）

export const chartCompany = query => {
  return request.post('/zsrencai/api/sys/admin/chat/get/chat/count/chart/company', query)
}

// 企业数量统计（发布职位）
export const jobCountChart = query => {
  return request.post('/zsrencai/api/sys/admin/job/get/job/count/chart', query)
}





